package cn.yyh.user.pojo.po;

import cn.yyh.basic.domain.BaseDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: LoginInfo
 * @Package: cn.yyh.user.pojo.po
 * @date 2021/6/30
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class LoginInfo extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer type;
    private Boolean disable;

    public LoginInfo(Long id, String username, String phone, String email, String salt, String password, Integer type, Boolean disable) {
        super(id);
        this.username = username;
        this.phone = phone;
        this.email = email;
        this.salt = salt;
        this.password = password;
        this.type = type;
        this.disable = disable;
    }
}
